/**
 * Created by Administrator on 2019/3/27.
 */
var editRolesForm = null;
$(function () {
    editRolesForm = $("#editRolesForm");
    initCombobox();
    editCurrentRole();
});

var initCombobox = function () {
    var oldSign = $("#oldSign").val();
    $('#sign').combobox('setValue',oldSign);
    var oldStatus = $("#oldStatus").val();
    $('#status').combobox('setValue',oldStatus);
}

var editCurrentRole = function () {
    $("#save").click(function () {
        editFormSubmit(editRolesForm, "/editCurrentRole/normal");

    });
}